*{
  margin: 0;
  padding: 0;
}

html{
  font-size: 13.333333vw;
}

body{
  width: 7.5rem;
  background: #f0f0f0;

}

a{
  text-decoration: none;
}

ul,li{
  list-style: none;
}
.wrap{
  width: 7.5rem;
  // padding: 0 .3rem;
  // box-sizing: border-box;
}

//------------ 头部导航条
.container{
  display: flex;
  width: 7.5rem;
  height: 1rem;
  padding: 0 .3rem;
  position: fixed;
  box-sizing: border-box;
  background: linear-gradient(to right,#3dc1a7,#21cd5a);
  z-index: 9;


  .wrap-title{
    display: flex;
    width: 100%;
    padding: .2rem 0;
    box-sizing: border-box;

    .title-text{
      font-size: .38rem;
      width: 100%;
      height: .6rem;
      color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;

    }
    .title-logo{
      position: absolute;
      top: 0;
      right: 0.3rem;
      width: .64rem;
      height: .56rem;
      margin: .22rem 0;
      background: url(http://m.enroll.yhit.org/content/themes/enrollm/resource/images/header-icon.png)no-repeat;
      background-size: auto 100%;
    }
    
  }
}
//------------ 轮播图
.slideshow{
  padding: .3rem;
  box-sizing: border-box;
  background: #fff;
  width: 7.5rem;
  // height: 3rem;

  img{
    margin-top: 1rem;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;

  }
}

//------------- 中间导航条

.menu{
  padding-bottom: .3rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  background: #fff;

  .menu-list{
    display: flex;
    padding: 0 .3rem;
    box-sizing: border-box;
    width: 100%;
    .menu-item{
      width: 25%;
    
      a{
        display: block;
        font-size: .28rem;
        text-align: center;
        padding-top: 1.36rem;
        box-sizing: border-box;
        color: #333;
        position: relative;
      }
      a::before{
        content:"";
        margin-left: -0.6rem;
        width: 1.2rem;
        height: 1.2rem;
        background: url(http://m.enroll.yhit.org/content/themes/enrollm/resource/images/entrylist-icon.png)no-repeat;
        background-size: auto 1.2rem;
        border-radius:50%;
        top: 0;
        left: 50%;
        position: absolute;

      }
    }
    .menu-item:nth-child(1){
      a::before{
        background-position-x: 0;
      }
    }
    .menu-item:nth-child(2){
      a::before{
        background-position-x: -1.2rem;
      }
    }
    .menu-item:nth-child(3){
      a::before{
        background-position-x: -2.4rem;
      }
    }
    .menu-item:nth-child(4){
      a::before{
        background-position-x: -3.6rem;
      }
    }
  }
}

//--------------- 导航条下的轮播条
.hotnews{
  width: 100%;
  background: #fff;
  padding: 0 .3rem;
  box-sizing: border-box;
  border-top: 1px solid #eee;

  .hotnews-icon{
    width: .34rem;
    height: .34rem;
    margin: .18rem 0;
    background: url(http://m.enroll.yhit.org/content/themes/enrollm/resource/images/hotnews-icon.png)no-repeat center center;
    background-size: contain;
    position: absolute;
  }
  .hotnews-text{
    position: relative;
    box-sizing: border-box;
    padding-left: .54rem; 
    height: .7rem;
    line-height: .7rem;
    font-size: .28rem;
    color: #333;
  }
}

// 中间空白
.white{
  width: 100%;
  height: 20px;
  background: #f0f0f0;
}
//-------------- 院校推荐列表
.top-school{
  // display:flex;
  // flex-wrap: wrap;
  width: 100%;
  background: #fff;
  
  .school-title{
    padding: 0 .3rem;
    box-sizing: border-box;
    position: relative;

    .title-left{
      width: 0.08rem;
      height: 0.32rem;
      margin-top: -0.16rem;
      background: linear-gradient(to right,#3dc1a7,#21cd5a);
      border-radius: 0.08rem;
      position: absolute;
      left: 0.3rem;
      top: 50%;
    }

    .title-content{
      display: block;
      cursor: pointer;
      font-size: 0.32rem;
      font-weight: 400;
      color: #111;
      padding: 0.2rem 0 0.2rem 0.26rem;
      box-sizing: border-box;
    }

    .title-icon.iconfont.icon-youjiantou{
      width: 0.32rem;
      height: 0.32rem;
      font-size: 0.32rem;
      color: #888;
      margin-top: -0.16rem;
      position: absolute;
      top: 50%;
      right: 0.3rem;
    }
  }
}

//-------------------------- 院校推荐列表
.school{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  padding:0 0.3rem;
  box-sizing: border-box;
  background: #fff;
  justify-content: space-between;
  .school-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.2rem;

    .list-img{
      width: 3.31rem;
      height: 2.21rem;
      img{
        width: 100%;
        border-radius: 10px;
      }
    }
    .list-text{
      display: block;
      width: 100%;
      text-align: center;
      font-size: .28rem;
      padding: 0.1rem 0.2rem;
      box-sizing: border-box;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #333;
    }
  }
}

//--------------------- 政策列表
.floor{
  padding: 0 0.3rem;
  box-sizing: border-box;
  background: #fff;
  
  .floor-list{
    display: flex;
    width: 100%;
    padding: 0.14rem 0;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    position: relative;

    .list-logo{
      display: block;
      width: 0.1rem;
      height: 0.1rem;
      margin-top: -0.05rem;
      border-radius: 0.2rem;
      position: absolute;
      left: 0;
      top: 50%;
      background: linear-gradient(to right,#3dc1a7,#21cd5a);
    }

    .list-text{
      width: 100%;
      padding-left: 0.3rem;
      font-size: 0.28rem;
      color: #333;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

//--------------- 专业推荐
.major{
  display: flex;
  flex-wrap: wrap;
  padding: 0.1rem 0.3rem;
  background: #fff;

  .major-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    position: relative;
    margin-bottom: 0.2rem;

    .major-img{
      width: 1.2rem;
      height: 1.2rem;
      margin-left: -0.6rem;
      overflow: hidden;
      top: 0;
      left: 50%;
      position: absolute;
      // margin-bottom: .15rem;

      img{
        width: 100%;
      }
    }
    span{
      width: 100%;
      padding: 0 0.1rem;
      padding-top: 1.26rem;
      font-size: 0.28rem;
      box-sizing: border-box;
      color: #333;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

//------------------ 专家评测
.evaluating{
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  padding: 0 0.3rem;
  margin-bottom: 1rem;
  justify-content: space-between;

  .evaluating-list{
    display: flex;
    margin-bottom: 0.3rem;
    // box-shadow: 0.02rem 0.02rem 0.02rem 0.12rem rgb(0, 0, 0, 0.2);
    border-radius: 0.12rem;
    overflow: hidden;
    position: relative;

    .evaluating-img{
      display: flex;
      width: 3.31rem;
      height: 1.34rem;
      img{
        width: 100%;
      }
    }

    span{
      display: flex;
      align-items: center;
      padding: 0.2rem 0.2rem 0.2rem 1.2rem;
      box-sizing: border-box;
      font-size: .38rem;
      color: #fff;
      transform: translate(0,-50%);
      top: 50%;
      left: 0;
      position: absolute;
    }
  }
}

//------------------------- 底部导航条
.footer{
  width: 100%;
  background: #fff;
  border-top: 1px solid #eee;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 99;
  .footer-container{
    padding: 0 0.3rem;
    box-sizing: border-box;

    .footer-list{
      display: flex;
      width: 100%;
      padding: 0.08rem 0 0;
      box-sizing: border-box;

      .list-item{
        width: 20%;
        padding-top: 0.52rem;
        position: relative;

        .item-icon{
          width: 0.48rem;
          height: 0.48rem;
          margin-left: -0.24rem;
          background: url(http://m.enroll.yhit.org/content/themes/enrollm/resource/images/fixedmenu-icon.png)no-repeat;
          background-size: auto 0.96rem;
          left: 50%;
          top: 0;
          position: absolute;
        }

        span{
          width: 100%;
          height: 0.36rem;
          display: flex;
          color: #333;
          font-size: .24rem;
          justify-content: center;
          align-items: center;
        }
        .item-icon-large{
          width: 0.74rem;
          height: 0.74rem;
          margin-left: -0.37rem;
          background: url(http://m.enroll.yhit.org/content/themes/enrollm/resource/images/fixedmenu-icon-large.png)no-repeat center center;
          background-size: contain;
          bottom: 0.4rem;
          left: 50%;
          position: absolute;
          z-index: 6;
          // position: absolute;
        }

      }
      .list-item:hover{
      
        span{
          color: #3cca7b;
        }
      }

      .active:hover{
        .item-icon{
          background-position-y:-0.48rem;
        }
      }

      .list-item:nth-child(1){
        .item-icon{
          background-position-x: 0;
        }
      }
      .list-item:nth-child(2){
        .item-icon{
          background-position-x: -0.48rem;
        }
      }
      .list-item:nth-child(4){
        .item-icon{
          background-position-x: -0.96rem;
        }
      }
      .list-item:nth-child(5){
        .item-icon{
          background-position-x: -1.44rem;
        }
      }

    }
  }
}